<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page
	import="java.util.List,java.util.Map,java.util.LinkedHashMap,java.util.Iterator"%>
<%@ page import="com.xyrj.utils.HHString,com.xyrj.html.HHHtml"%>
<%@ page import="system.config.HHConfig"%>
<!-- 导入后台头部页面-->
<jsp:include page="../common/header.jsp" />

<!-- 导入不支持Javascript提示 -->
<jsp:include page="../common/noscript.html" />

<!-- 导入后台logo页面 -->
<jsp:include page="../common/section.jsp" />

<!-- 导入控制面板 -->
<jsp:include page="../common/sidebar.jsp" />
<section id="main" class="colum">
	<article class="module width_full">
		<header>
			<h3>添加新用户类型</h3>
		</header>
		<div class="module_content">
			<form action="<%=HHConfig.SITE_URL%>/index.jsp/admin/usertype/<%=request.getAttribute("nextAction")%>"
					method="post" enctype="multipart/form-data">
				<fieldset>
						<!-- Set class to "column-left" or "column-right" on fieldsets to divide the form into columns -->
						<%
							Map record = (Map) request.getAttribute("record");
						%>
						<input type="hidden"
							value="<%=HHString.objToString(record.get("usertype_id"))%>"
							name="usertype_id" />
						<div class="left-info">
							<p>
								<label>类型名</label> 
								<input class="text-input small-input"
									type="text" id="usertype_name_id" name="usertype_name"
									value="<%=HHString.objToString(record.get("usertype_name"))%>" />
								<br /> 
								<small>用户类型名，字符范围：2~20个字符。</small>
							</p>
							<jsp:include page="../fields/sort_num.jsp" flush="true" />
							<jsp:include page="../fields/parent_id.jsp" flush="true" />
							<jsp:include page="../fields/image_path.jsp" flush="true" />
							<jsp:include page="../fields/top_flag.jsp" flush="true" />
						</div>
						<div class="right-info">
							<jsp:include page="../fields/edit_time.jsp" flush="true" />
							<jsp:include page="../fields/create_time.jsp" flush="true" />
							<jsp:include page="../fields/author.jsp" flush="true" />
							<jsp:include page="../common/info_op_area.jsp" flush="true" />
						</div>
						<div class="clear"></div>
						<jsp:include page="../fields/description_editor.jsp" flush="true" />
					</fieldset>
					<div class="clear"></div>
					<!-- End .clear -->
			</form>
		</div>
	</article>
	<!-- End .content-box -->
	<script type="text/javascript"
		src="<%=HHConfig.SITE_URL + "/" + HHConfig.TPL_PATH%>/render/uploader/uploadify/jquery.uploadify.min.js"></script>
	<script type="text/javascript"
		src="<%=HHConfig.SITE_URL + "/" + HHConfig.TPL_PATH%>/render/lightbox/jquery.lightbox-0.5.min.js"></script>
	<script type="text/javascript"
		src="<%=HHConfig.SITE_URL + "/" + HHConfig.TPL_PATH%>/common/js/hhjslib.hhbindrender.js"></script>
	<script type="text/javascript"
		src="<%=HHConfig.SITE_URL + "/" + HHConfig.TPL_PATH%>/common/js/hhjslib.hhautomask.js"></script>
	<script type="text/javascript"
		src="<%=HHConfig.SITE_URL + "/" + HHConfig.TPL_PATH%>/admin/js/usertype_info.js"></script>
	<div class="clear"></div>
	<div class="spacer"></div>
</section>
<!-- end of section -->
</body>
</html>